<ul class="thumbnails list">
</ul>

<div class="pagination">
  <ul>
    <li class="prev {{#unless pagination.prev}}disabled{{/unless}}"><a {{#if pagination.prev}}class=page{{/if}} data-id="{{pagination.prev}}">&larr; {{$ "common.pagination.prev"}}</a></li>
    {{#each pagination.pages}}
    <li class="{{class_if "active" this ../pagination.page}}"><a class="page" data-id="{{this}}">{{this}}</a></li>
    {{/each}}
    <li class="next {{#unless pagination.next}}disabled{{/unless}}"><a {{#if pagination.next}}class=page{{/if}} data-id="{{pagination.next}}">&rarr; {{$ "common.pagination.next"}}</a></li>
  </ul>
  <p>{{$ "common.pagination.total"}}: {{pagination.total}}</p>
</div>
